<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>text edit</title>
<style type="text/css">
html, body { height:100%; }
* { margin:0; padding:0; }
body { color:#333; font-family:Simsun, Arial, Verdana, Helvetica, sans-serif; font-size:12px; word-wrap:break-word; cursor:text; }
</style>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(function(){
	document.onkeydown = function(e){
  		var ev = document.all ? window.event : e;
    	if(ev.keyCode==13){
        	window.parent.sendMsg();
			return false;
		}
	}
});   
</script>
</head>
<body contentEditable="true">
</body>
</html>
